package com.ajavaer.framework.message;

import com.ajavaer.framework.common.tools.StringTools;

public class WeiboMessage {
    private String request;
    private String error_code;
    private String error;

    private Boolean success;

    public String getRequest() {
        return request;
    }

    public void setRequest(String request) {
        this.request = request;
    }

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public Boolean getSuccess() {
        return StringTools.isBlank(error);
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }
}
